extends "../cTDR_3/cTDR_3.gd"
func _info():
	pass

func _connect():
	._connect()

func _extInit():
	._extInit()
	chaName = "狙击手"
	lv = 3
	attCoe.atkRan = 4
	attCoe.atk = 33 / 8.5 * 2 / 3
	attCoe.maxHp = 735 / 112.5 / 3
	attAdd.spd -= 0.33

	addSkillTxt("狙击枪：普攻附加（15 + 5%物攻）点真伤，攻速-33%")
	addSkillTxt("极速射击：普攻有12%概率对当其敌人再造成一次普通攻击[可无限触发]")

var pw2=12

func _onAtkChara(atkinfo):
	._onAtkChara(atkinfo)
	if !atkinfo.isMiss && atkinfo.hitCha != self && atkinfo.atkType == Chara.AtkType.NORMAL:
		hurtChara(atkinfo.hitCha,15 + att.atk * 0.05,Chara.HurtType.REAL,Chara.AtkType.EFF)
		if !sys.rndPer(pw2):return
		hurtChara(atkinfo.hitCha,att.atk,Chara.HurtType.PHY,Chara.AtkType.NORMAL)

